package com.bbcare.department.plat.entity;
import java.io.Serializable;

import javax.persistence.Entity;

import com.bbcare.comm.DateUtil;

   /**
    * DEPT_EDUCATION_TEMPLATE 实体类
    * Fri Apr 14 10:31:52 CST 2017 ******
    */ 


@Entity
public class EducationTemplate  implements Serializable {
	private static final long serialVersionUID = 1L;
	private String id;
	//模板内容
	private String templateContent;
	//模板类型
	private String templateType;
	//模板变量 
	private String templateParam;
	
	//模板默认值
	private String paramValue;
	//模板名称
	private String templateName;
	//模板状态 0生效 1 失效
	private short status;
	private String createAuthor;
	private String createTime;
	private String remark1;
	//模板介绍
	private String templateIntroduce;
	
	//DISEASE_TYPE  SCENE_TYPE BROWN_COUNT REFERENCE_COUNT
	//专病类型
	private String diseaseType;
	//宣教场景类型
	private String sceneType;
	//模板浏览量
	private int brownCount;
	//模板引用量
	private int referenceCount;

	private String picture;
	
	public String getPicture() {
		return picture;
	}

	public void setPicture(String picture) {
		this.picture = picture;
	}
	public String getParamValue() {
		return paramValue;
	}

	public void setParamValue(String paramValue) {
		this.paramValue = paramValue;
	}

	public String getDiseaseType() {
		return diseaseType;
	}

	public void setDiseaseType(String diseaseType) {
		this.diseaseType = diseaseType;
	}

	public String getSceneType() {
		return sceneType;
	}

	public void setSceneType(String sceneType) {
		this.sceneType = sceneType;
	}

	public int getBrownCount() {
		return brownCount;
	}

	public void setBrownCount(int brownCount) {
		this.brownCount = brownCount;
	}

	public int getReferenceCount() {
		return referenceCount;
	}

	public void setReferenceCount(int referenceCount) {
		this.referenceCount = referenceCount;
	}

	public void setId(String id){
		this.id=id;
	}

	public String getId(){
		return id;
	}

	public void setTemplateContent(String templateContent){
		this.templateContent=templateContent;
	}

	public String getTemplateContent(){
		return templateContent;
	}

	public void setTemplateType(String templateType){
		this.templateType=templateType;
	}

	public String getTemplateType(){
		return templateType;
	}

	public void setTemplateParam(String templateParam){
		this.templateParam=templateParam;
	}

	public String getTemplateParam(){
		return templateParam;
	}

	public void setTemplateName(String templateName){
		this.templateName=templateName;
	}

	public String getTemplateName(){
		return templateName;
	}

	public void setStatus(short status){
		this.status=status;
	}

	public short getStatus(){
		return status;
	}

	public void setCreateAuthor(String createAuthor){
		this.createAuthor=createAuthor;
	}

	public String getCreateAuthor(){
		return createAuthor;
	}

	public void setCreateTime(String createTime){
		this.createTime= DateUtil.getTimeStampSec(createTime);
	}

	public String getCreateTime(){
		return createTime;
	}

	public void setRemark1(String remark1){
		this.remark1=remark1;
	}

	public String getRemark1(){
		return remark1;
	}

	public void setTemplateIntroduce(String templateIntroduce){
		this.templateIntroduce=templateIntroduce;
	}

	public String getTemplateIntroduce(){
		return templateIntroduce;
	}
}

